/**
 * @fileOverview keydown move selection
 * @author huangtonger@aliyun.com
 */
const Page = require('../../base/');

Page.registerBehaviour('keydownMoveSelection', page => {
  const graph = page.getGraph();
  graph.on('keydown', ev => {
    page._moveItemSelection(ev);
  });
});
